package com.xuanzheng.company.entity;

import java.io.Serializable;
import java.sql.Timestamp;

public class SystemApplication implements Serializable {
    private String id; // 申请ID
    private String userId; // 用户ID
    private String userName; // 用户名称
    private String userPhone; // 用户电话
    private String companyName; // 公司名称
    private String companyCreditCode; // 统一社会信用代码
    private String reason; // 申请原因
    private int status; // 申请状态：0-待审核, 1-已通过, 2-已拒绝
    private String rejectReason; // 拒绝原因
    private Timestamp createTime; // 创建时间
    private Timestamp updateTime; // 更新时间
    
    public SystemApplication() {
    }
    
    // Getters and Setters
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyCreditCode() {
        return companyCreditCode;
    }

    public void setCompanyCreditCode(String companyCreditCode) {
        this.companyCreditCode = companyCreditCode;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getRejectReason() {
        return rejectReason;
    }

    public void setRejectReason(String rejectReason) {
        this.rejectReason = rejectReason;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "SystemApplication{" +
                "id='" + id + '\'' +
                ", userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", companyName='" + companyName + '\'' +
                ", companyCreditCode='" + companyCreditCode + '\'' +
                ", reason='" + reason + '\'' +
                ", status=" + status +
                ", rejectReason='" + rejectReason + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
} 